import asyncio
from ollama import AsyncChat

async def main():
    async_response = await AsyncChat(model='llama3.2').call(
        messages=[{'role': 'user', 'content': 'Explain quantum physics.'}]
    )
    print(async_response.message.content)

asyncio.run(main())

